package com.dream.frame.common.extend

import org.slf4j.Logger
import org.slf4j.LoggerFactory

/**
 * 日志扩展
 *
 * @author dream
 * @version 1.0
 * @since 2025/7/3 19:47
 */

/**
 * 获取日志对象
 */
inline val <reified T : Any> T.logger: Logger
    get() = LoggerFactory.getLogger(T::class.java.name)
